﻿using System;
class OddEvenCheck
{
    static void Main()
    {
        int testnumber;
        Console.Write("Input Number: ");
        while (true)
        {
            try
            {
                testnumber = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception ex)
            {
                Console.Write(ex.Message + "\nPlease re-enter number:");
            }
        }
        if (testnumber%2==1)
        {
            Console.WriteLine("The number is Odd");
            Console.ReadLine();
        }
        else
        {
            Console.WriteLine("The number is Even");
            Console.ReadLine();
        }
    }
}

